/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.creationpatterns.bulidedrpattern.builderimpl;

import za.ac.cput.chapter5.designpatters.creationpatterns.bulidedrpattern.Meal;
import za.ac.cput.chapter5.designpatters.creationpatterns.bulidedrpattern.builderinterface.MealBuilder;

/**
 *
 * @author Sakhe
 */
public class ItalianMealBuilder implements MealBuilder{
  
    private Meal meal;

    public ItalianMealBuilder(){
    meal = new Meal() ;
    }
    
    @Override
    public void buildDrink() {
       meal.setDrink("red wine");
    }

    @Override
    public void buildMainCourse() {
        meal.setMainCourse("pizza");
    }

    @Override
    public void buildSide() {
        meal.setSide("bread");
    }

    @Override
    public Meal getMeal() {
        return meal;
    }
}
